package com.gillion.business.model;

import com.gfa4j.mybatis.annotation.CommonField;
import com.gfa4j.mybatis.annotation.CommonFieldType;
import com.gfa4j.mybatis.model.BaseModel;
import java.io.Serializable;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Version;

@Entity
@Table(name = "STUDENT")
public class Student extends BaseModel implements Serializable {
    private Long studentId;

    private String studentName;

    private String studentNm;

    private Long age;

    private Integer recordVersion;

    private static final long serialVersionUID = 1L;

    @Column(name = "STUDENT_ID")
    @Id
    @GeneratedValue(generator = "UUIDGenerator")
    public Long getStudentId() {
        return studentId;
    }

    public void setStudentId(Long studentId) {
        this.studentId = studentId;
    }

    @Column(name = "STUDENT_NAME")
    public String getStudentName() {
        return studentName;
    }

    public void setStudentName(String studentName) {
        this.studentName = studentName;
    }

    @Column(name = "STUDENT_NM")
    public String getStudentNm() {
        return studentNm;
    }

    public void setStudentNm(String studentNm) {
        this.studentNm = studentNm;
    }

    @Column(name = "AGE")
    public Long getAge() {
        return age;
    }

    public void setAge(Long age) {
        this.age = age;
    }

    @Column(name = "record_version")
    public Integer getRecordVersion() {
        return recordVersion;
    }

    public void setRecordVersion(Integer recordVersion) {
        this.recordVersion = recordVersion;
    }
}